'use strict'

let Koa = require('koa');
let bodyparser = require('koa-bodyparser');
let server = require('koa-static');

let app = new Koa();

let controllers = require('./controllers')
let temp = require('./templating');

app.use(bodyparser());
app.use(temp);
app.use(server(__dirname));
app.use(controllers());



app.listen(3007);

console.log("http://localhost:3007");

